﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NPMonitor
{
	/// <summary>
	/// Enumeration describing the statuses that the Service can be in.  Do not confuse this with the Windows Service that is a context around the service.
	/// </summary>
	public enum ServiceStatus
	{
        /// <summary>
        /// Service is executing job function
        /// </summary>
        Starting,

		/// <summary>
		/// The service is running and jobs will be queued and executed.
		/// </summary>
		Running,

		/// <summary>
		/// The service is not running and no jobs are queued or will be queued or executed while in this state.
		/// </summary>
		Stopped,

		/// <summary>
		/// The service is running, already queued jobs stay queued, but will not be executed.  No new jobs will be enqueued.
		/// </summary>
		Paused,

		/// <summary>
		/// The service is busy shutting down gracefully.
		/// </summary>
		Stopping,
	}

    public enum ConnectionStatus
    {
        Online,
        Offline,
        Checking
    }
}
